package com.atguigu.spzx.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import vo.common.entity.user.UserAddress;

import java.util.List;

@Mapper
public interface UserAddressMapper {

    List<UserAddress> findByUserId(Long userId);

    void updateById(UserAddress userAddress);

    void save(UserAddress userAddress);

    void removeById(Long id);

    UserAddress getById(Long id);
}